package com.four.bmm.entity;

import java.io.Serializable;

/**
 * 新闻列表实体类
 *
 * @author MSJ
 */
public class News implements Serializable {
    private int newsid;
    private int seecount;
    private String title;
    private String content;
    private String pic;
    private String pushtime;
    private int clickcount; //点赞量
    private User user;
    private BlockItem blockItem;


    public News() {
    }

    /**
     *
     * @param newsid
     */
    public News(int newsid) {
        this.newsid = newsid;
    }

    public News(String title, String content, String pic, String pushtime, User user, BlockItem blockItem) {
        this.title = title;
        this.content = content;
        this.pic = pic;
        this.pushtime = pushtime;
        this.user = user;
        this.blockItem = blockItem;
    }

    public News(int seecount, String title, String content, String pic, String pushtime, User user, BlockItem blockItem) {
        this.seecount = seecount;
        this.title = title;
        this.content = content;
        this.pic = pic;
        this.pushtime = pushtime;
        this.user = user;
        this.blockItem = blockItem;
    }

    public News(int newsid, int seecount, String title, String content, String pic, String pushtime, int clickcount, User user, BlockItem blockItem) {
        this.newsid = newsid;
        this.seecount = seecount;
        this.title = title;
        this.content = content;
        this.pic = pic;
        this.pushtime = pushtime;
        this.clickcount = clickcount;
        this.user = user;
        this.blockItem = blockItem;
    }

    public int getClickcount() {
        return clickcount;
    }

    public void setClickcount(int clickcount) {
        this.clickcount = clickcount;
    }

    public int getNewsid() {
        return newsid;
    }

    public void setNewsid(int newsid) {
        this.newsid = newsid;
    }

    public int getSeecount() {
        return seecount;
    }

    public void setSeecount(int seecount) {
        this.seecount = seecount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPushtime() {
        return pushtime;
    }

    public void setPushtime(String pushtime) {
        this.pushtime = pushtime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public BlockItem getBlockItem() {
        return blockItem;
    }

    public void setBlockItem(BlockItem blockItem) {
        this.blockItem = blockItem;
    }
}
